#include "complex.h"
#include "complexui.h"

QWidget *Complex::createWidget(const QString& type, const QString& level, const QString& humidity,
                                           const QString& pm25, const QString& quality, const QString& tips) {
    complexUI = new ComplexUI();
    complexUI->setData(type, level, humidity, pm25, quality, tips);
    return complexUI;
}
